<?php
Route::group([
	'prefix' => 'topic',
	'namespace' => 'Topic'
], function () {
	Route::group([
		'prefix' => 'topics',
	], function () {
		// 众筹主题管理列表
		Route::get('/', 'TopicsController@index')->name('admin.topic.topics');
		// 添加众筹主题
		Route::get('/add', 'TopicsController@add')->name('admin.topic.topics.add');
		// 编辑众筹主题
		Route::get('/edit/{id}', 'TopicsController@edit')->name('admin.topic.topics.edit');
		// 查看开团的订单
		Route::get('/order/{id}', 'TopicsController@order')->name('admin.topic.topics.order');
		// 查看支付情况
		Route::get('/pay/{id}', 'TopicsController@pay')->name('admin.topic.topics.pay');
		// 查看活动下面的分销人员
		Route::get('/sale/{id}','TopicsController@sale')->name('admin.topic.topics.sale');
		// 保存众筹主题信息
		Route::post('/save', 'TopicsController@save')->name('admin.topic.topics.save');
		// 删除众筹主题
		Route::get('/delete/{id}', 'TopicsController@delete')->name('admin.topic.topics.delete');
	});
});